package com.vlong.town.entity.townInfo;

import java.io.Serializable;

/**
 * 村镇信息实体类
 * @author Assassin
 */
public class TownInfo implements Serializable {

    /**
     * default SerialVersionUID
     */
    private static final long serialVersionUID = 1L;

    // Fields

    private Long infoId;// 标识信息-信息Id[主键值]
    private Long townId;// 标识信息-村镇Id
    private String title;// 基础信息-信息标题
    private String content;// 基础信息-信息内容
    private Long updateTime;// 时间信息-更新时间

    // Empty Constructor
    public TownInfo() {
        super();
    }

    // Full Constructor
    public TownInfo(Long infoId, Long townId, String title, String content, Long updateTime) {
        this.infoId = infoId;
        this.townId = townId;
        this.title = title;
        this.content = content;
        this.updateTime = updateTime;
    }

    // Property accessors

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public Long getTownId() {
        return townId;
    }

    public void setTownId(Long townId) {
        this.townId = townId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TownInfo{" +
                "infoId=" + infoId +
                ", townId=" + townId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
